// 第一步导入
import React, { Component } from 'react';
import './header.scss';
import Transition from '@/components/transition/transition'


// 第二步定义类
class Header extends Component{
	constructor(props){
		super(props);
		const { children } = props;
		console.log(props);
		console.log(children);
	}
	render(){
		return (
			<div className="contain"> 
				<Transition>
					<p>购物车</p>
				</Transition>
			</div>
		)
	}	
}


// 导出
export default Header;